package com.fire.aop;

import org.springframework.aop.ThrowsAdvice;

import java.rmi.RemoteException;

/**
 * @author zwd
 * @date 2021/8/15
 * @email zwd@hhh.com
 */
public class OneParamThrowsAdvice implements ThrowsAdvice {

	// 如果只有一个参数，那么这个参数必须是要进行处理的异常
	public void afterThrowing(RemoteException ex) throws Throwable {
		// Do something with remote exception
	}
}
